package com.demo.spring.annoinit;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AppConfig {

	@Bean
	public PersonService personService(){
		return new PersonServiceImpl();
	}

}
